.box-alert{
    display: none;
}

.box-alert.active{
    display: block;
}

.alert{
    width: 6rem;
    height: 3rem;
    top: 50%;
    left: 50%;
    margin: -1.5rem 0 0 -3rem;
    position: absolute;
    border-radius: 5px;
    background: white;
}

.alert p{
    color: #00a0d8;
    font-size: 24px;
    text-align: center;
    display: block;
    margin: 20px auto 0;
}

.alert button{
    padding: 5px 20px;
    border: solid 1px #00a0d8;
    border-radius: 5px;
    margin:  0 10px;
    color: white;
    outline: none;
    background: #00a0d8;
}

@media screen and (min-width: 376px) {
    .alert{
        width: 4rem;
        height: 2rem;
        top: 50%;
        left: 50%;
        margin: -1rem 0 0 -2rem;
        position: absolute;
        border-radius: 5px;
        background: white;
    }
}